<template>
	<view class="content">
		<u-search placeholder="日照" v-model="keyword"></u-search>
		<!-- 	 -->
		<view class="swiper-view">
			<u-swiper :list="list2" keyName="image" showTitle :autoplay="false" circular></u-swiper>
		</view>

		<view class="homelist-view">

		</view>
	</view>
</template>

<script setup>
	import {
		getHomeListModel,
		getBannerModel,
	} from "../../api/api.js"
	import {
		onLoad
	} from "@dcloudio/uni-app"
	import {
		ref,
		reactive,
		onMounted
	} from 'vue';

	const title = ref("风格和激光核聚变v")
	const keyword = ref('遥看瀑布挂前川');
	const list2 = ref([]);
	

	const uWaterfallRef = ref(null);
	const loadStatus = ref('loadmore');
	const flowList = ref([]);
	const list = ref([]);
	onLoad(() => {

	})
	onMounted(() => {
		getBannerModel().then(res => {
			if (res.bannerList) {
				list2.value = res.bannerList
			}

		})
		getHomeListModelFun()
	})
	const getHomeListModelFun = () => {
		getHomeListModel().then(res => {
			if (res) {

			}

		})
	}

	
</script>

<style lang="scss" scoped>
	.content {
		padding: 20rpx 20rpx;

		.swiper-view {
			padding: 20rpx 0;
		}
	}

	
</style>